package com.yonyou.cyxdms.sysAuth.service.service.manage.company;

import com.yonyou.cyx.function.exception.ServiceBizException;
import com.yonyou.cyxdms.sysAuth.service.vo.companyorg.DealerchannelVO;
import com.yonyou.cyxdms.sysmanage.client.domains.dto.DealerInfoDTO;

import java.util.List;
import java.util.Map;

/**
 * 公司维护
 *
 * @author maxingjian
 * @since 2019/7/9
 */
public interface DealerBasicinfoService {

    /**
     * 通过code查询经销航基本信息
     * @return
     * @author maxiongjian
     * @since 2019/7/9
     */
    public DealerchannelVO getDealerChannelByCode(Long companyId,String appId) throws ServiceBizException;

    /**
     * 查询除了自己的所有dealer信息(调拨申请单选择调出单位用)
     *
     * @param
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     * @author renwd
     * @since 2019/7/9
     */
    List<Map<String, Object>> getDealerExceptSelf();
    /**
     *  获取经销商基本信息
     *
     * @author dengqiang
     * @since 2019/7/25
     */
    Map<String,Object> getDealerBasicinfo();

    Integer insertDealerInfo(DealerInfoDTO dealerInfoDTO);
}
